package com.sinopec.basemodule.adapter

import android.view.View
import com.sinopec.basemodule.R
import com.sinopec.basemodule.model.ProductSpecModel
import kotlinx.android.synthetic.main.product_spec_item_popuwindow.view.*

/**
 * @author lwj
 * @ClassName: ProductSpecSpinnerAdapter
 * @Description:产品规格Spinner
 */
class ProductSpecSpinnerAdapter : BaseSpinnerAdapter<ProductSpecModel?>(R.layout.product_spec_item_popuwindow) {
    override fun onBindView(position: Int, convertView: View, data: ProductSpecModel?) {
        val tv_name = convertView.tv_name
        tv_name.text =data?.productSpecName
    }
}